const {createApp} = Vue;
const {ref} = Vue;
const {reactive} = Vue;
const {onMounted} = Vue;
const {createRouter} = VueRouter;
const router = createRouter({
      history: VueRouter.createWebHashHistory(),
      routes: [
		{ path: '/', redirect: '/MainProgram' },
        { path: '/Default', component: Default },
        { path: '/MainProgram', component: MainProgram }
      ]
    });
const app = createApp({
	
});
//注册elementui icon全局组件
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
	app.component(key, component)
};
//注册elementplus
app.use(ElementPlus, {
	locale: ElementPlusLocaleZhCn
});
//注册路由
app.use(router);
app.mount('#app');